﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp5
{
    class Person
    {

        int id;
        string name;
        string sex;
        int cardid;
        int tel;
        string major;
        string grade;
        string title;
        int wageno;
        public int ID
        {
            get { return this.id; }
            set { this.id = value; }
        }
        public string Name
        {
            get { return this.name; }
            set { this.name = value; }
        }
        public string Sex
        {
            get { return this.sex; }
            set { this.sex = value; }
        }
        public int Cardid
        {
            get { return this.cardid; }
            set { this.cardid = value; }
        }
        public int Tel
        {
            get { return this.tel; }
            set { this.tel = value; }
        }
        public string Major
        {
            get { return this.major; }
            set { this.major = value; }
        }
        public string Grade
        {
            get { return this.grade; }
            set { this.grade = value; }
        }
        public string Title
        {
            get { return this.title; }
            set { this.title = value; }
        }
        public int Wageno
        {
            get { return this.wageno; }
            set { this.wageno = value; }
        }
        public void Dayin()
        {
            Console.WriteLine("编号" + id + "姓名" + name + "性别" + sex + "身份证号" + cardid + "联系方式" + tel + "专业" + major + "年纪" + grade);
        }

    }
}
